/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.beans;

import java.io.Serializable;

/**
 *
 * @author andres
 */
public class Linia_peca implements Serializable {    

    private Preu_peca preuPeca;
    private int unitats;
    private int idMarca;

    public Linia_peca(Preu_peca preuPeca, int unitats, int idMarca) {
        this.preuPeca = preuPeca;
        this.unitats = unitats;
        this.idMarca = idMarca;
    }
    
    public Preu_peca getPreuPeca() {
        return this.preuPeca;
    }
    
    public int getUnitats(){
        return this.unitats;
    }
    
    public int getMarca(){
        return this.idMarca;
    }
    
}
